package com.hwadee.springboot.service;

import com.hwadee.springboot.entity.Mistake;
import com.hwadee.springboot.entity.R;
import com.hwadee.springboot.entity.SaveWrongQuestionsRequest;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MistakeService {
    R<Boolean> saveWrongQuestions(SaveWrongQuestionsRequest request);
    List<Mistake> getStudentMistakes(Long studentId);
    boolean deleteMistakeByStudentAndId(Long studentId, Long mistakeId);
}
